home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple AUX 3.0
/
Apple AUX 3.0.iso
/
System Folder
/
Finder
/
Finder.rsrc
/
bin.rsrc_CODE_125.txt
< prev
next >
Wrap
Text File
|
1991-04-25
|
8KB
|
143 lines
# near model CODE resource
# jump table entries: 12600-12600 (1 of them)
export_1575:
00000000 4E56 FE8A link A6, -0x0176
00000004 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000008 286E 0008 movea.l A4, [A6 + 0x8]
0000000C 41EE FEF6 lea.l A0, [A6 - 0x10A]
00000010 4210 clr.b [A0]
00000012 4878 2CFA push.l 0x2CFA
00000016 486E FEF6 pea.l [A6 - 0x10A]
0000001A 4EAD 10F2 jsr [A5 + 0x10F2 /* export_538 */]
0000001E 2054 movea.l A0, [A4]
00000020 3C28 0030 move.w D6, [A0 + 0x30]
00000024 3F06 move.w -[A7], D6
00000026 7002 moveq.l D0, 0x02
00000028 2F00 move.l -[A7], D0
0000002A 486E FEF6 pea.l [A6 - 0x10A]
0000002E A81B syscall HCreateResFile
00000030 558F subq.l A7, 2
00000032 A9AF syscall ResError
00000034 3A1F move.w D5, [A7]+
00000036 508F addq.l A7, 8
00000038 6648 bne +0x4A /* 00000082 */
0000003A 2054 movea.l A0, [A4]
0000003C 3D68 0030 FEA0 move.w [A6 - 0x160], [A0 + 0x30]
00000042 41EE FEF6 lea.l A0, [A6 - 0x10A]
00000046 2D48 FE9C move.l [A6 - 0x164], A0
0000004A 7002 moveq.l D0, 0x02
0000004C 2D40 FEBA move.l [A6 - 0x146], D0
00000050 426E FEA6 clr.w [A6 - 0x15A]
00000054 486E FE8A pea.l [A6 - 0x176]
00000058 4EAD 120A jsr [A5 + 0x120A /* export_573 */]
0000005C 4A40 tst.w D0
0000005E 588F addq.l A7, 4
00000060 6620 bne +0x22 /* 00000082 */
00000062 2D7C 464E 4452 FEAA move.l [A6 - 0x156], 0x464E4452 /* 'FNDR' */
0000006A 2D7C 4552 494B FEAE move.l [A6 - 0x152], 0x4552494B /* 'ERIK' */
00000072 08EE 0006 FEB2 bset.b [A6 - 0x14E], 0x6
00000078 486E FE8A pea.l [A6 - 0x176]
0000007C 4EAD 1212 jsr [A5 + 0x1212 /* export_574 */]
00000080 588F addq.l A7, 4
label00000082:
00000082 486E FFF6 pea.l [A6 - 0xA]
00000086 2F0C move.l -[A7], A4
00000088 4EAD 055A jsr [A5 + 0x55A /* export_167 */]
0000008C 7003 moveq.l D0, 0x03
0000008E 2F00 move.l -[A7], D0
00000090 486E FEF6 pea.l [A6 - 0x10A]
00000094 7202 moveq.l D1, 0x02
00000096 2F01 move.l -[A7], D1
00000098 48C6 ext.l D6
0000009A 2F06 move.l -[A7], D6
0000009C 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
000000A0 3E00 move.w D7, D0
000000A2 0C47 FFFF cmpi.w D7, 0xFFFF
000000A6 4FEF 0018 lea.l A7, [A7 + 0x18]
000000AA 661A bne +0x1C /* 000000C6 */
000000AC 7001 moveq.l D0, 0x01
000000AE 2F00 move.l -[A7], D0
000000B0 486E FEF6 pea.l [A6 - 0x10A]
000000B4 7202 moveq.l D1, 0x02
000000B6 2F01 move.l -[A7], D1
000000B8 48C6 ext.l D6
000000BA 2F06 move.l -[A7], D6
000000BC 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
000000C0 3E00 move.w D7, D0
000000C2 4FEF 0010 lea.l A7, [A7 + 0x10]
label000000C6:
000000C6 486E FEBE pea.l [A6 - 0x142]
000000CA 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
000000CE 4A80 tst.l D0
000000D0 588F addq.l A7, 4
000000D2 670C beq +0xE /* 000000E0 */
000000D4 7000 moveq.l D0, 0x00
000000D6 2F00 move.l -[A7], D0
000000D8 4EAD 018A jsr [A5 + 0x18A /* export_45 */]
000000DC 588F addq.l A7, 4
000000DE 6006 bra +0x8 /* 000000E6 */
label000000E0:
000000E0 3F07 move.w -[A7], D7
000000E2 A99A syscall CloseResFile
000000E4 7EFF moveq.l D7, 0xFFFFFFFF
label000000E6:
000000E6 486E FEBE pea.l [A6 - 0x142]
000000EA 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
000000EE 0C47 FFFF cmpi.w D7, 0xFFFF
000000F2 588F addq.l A7, 4
000000F4 675C beq +0x5E /* 00000152 */
000000F6 7001 moveq.l D0, 0x01
000000F8 2F00 move.l -[A7], D0
000000FA 48C7 ext.l D7
000000FC 2F07 move.l -[A7], D7
000000FE 4EAD 099A jsr [A5 + 0x99A /* export_303 */]
00000102 4A45 tst.w D5
00000104 508F addq.l A7, 8
00000106 664A bne +0x4C /* 00000152 */
00000108 598F subq.l A7, 4
0000010A 487A 005E pea.l [PC + 0x5E /* 0000016A, value 0xA46696E '\nFin', pstring "Finder 1.0" */]
0000010E A906 syscall NewString
00000110 265F movea.l A3, [A7]+
00000112 558F subq.l A7, 2
00000114 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000118 3C1F move.w D6, [A7]+
0000011A 661E bne +0x20 /* 0000013A */
0000011C 7004 moveq.l D0, 0x04
0000011E 2F00 move.l -[A7], D0
00000120 7200 moveq.l D1, 0x00
00000122 2F01 move.l -[A7], D1
00000124 2F3C 5354 5220 move.l -[A7], 0x53545220 /* 'STR ' */
0000012A 2F0B move.l -[A7], A3
0000012C 4EAD 0992 jsr [A5 + 0x992 /* export_302 */]
00000130 558F subq.l A7, 2
00000132 A9AF syscall ResError
00000134 3C1F move.w D6, [A7]+
00000136 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000013A:
0000013A 4A46 tst.w D6
0000013C 660A bne +0xC /* 00000148 */
0000013E 3F07 move.w -[A7], D7
00000140 A999 syscall UpdateResFile
00000142 2F0B move.l -[A7], A3
00000144 A9A3 syscall ReleaseResource
00000146 600A bra +0xC /* 00000152 */
label00000148:
00000148 204B movea.l A0, A3
0000014A A023 syscall DisposHandle/DisposeHandle
0000014C 3F07 move.w -[A7], D7
0000014E A99A syscall CloseResFile
00000150 7EFF moveq.l D7, 0xFFFFFFFF
label00000152:
00000152 486E FFF6 pea.l [A6 - 0xA]
00000156 2F0C move.l -[A7], A4
00000158 4EAD 056A jsr [A5 + 0x56A /* export_169 */]
0000015C 3007 move.w D0, D7
0000015E 508F addq.l A7, 8
00000160 4CEE 18E0 FE76 movem.l D5,D6,D7,A3,A4, [A6 - 0x18A]
00000166 4E5E unlink A6
00000168 4E75 rts
0000016A 0A46 696E xori.w D6, 0x696E /* 'in' */
0000016E 6465 bcc +0x67 /* 000001D5 */
00000170 7220 moveq.l D1, 0x20
00000172 312E 3000 move.w -[A0], [A6 + 0x3000]